/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: Direcotry.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/11 上午9:24
 * LastModified: 2020/03/11 09:24:11
 */

package com.qolome.knowledge.design.pattern.composite.demo.permission;

import com.qolome.knowledge.design.pattern.composite.demo.safe.Direcotry;
import lombok.extern.slf4j.Slf4j;

/**
 * @author Qolome
 * @version V1.0
 * @Description 目录
 * @date 2020年 03月11日 09:24:15
 */


public abstract class Permission {

    protected Long id;
    protected Long pid;
    protected String name;
    protected String xpath;

    public Permission(Long id, Long pid,String name, String xpath) {
        this.id = id;
        this.pid = pid;
        this.name = name;
        this.xpath = xpath;
    }
    public abstract void show();

}
